package com.yc.navy.goods.mapper;

import java.util.List;
import java.util.Map;

import com.yc.navy.goods.bean.FindByPageInfo;
import com.yc.navy.goods.bean.OrderInfo;
import com.yc.navy.goods.dto.OrderDTO;
import com.yc.navy.goods.dto.OrderItemInfoListDTO;
import com.yc.navy.goods.dto.OrderItemInfoShopList;

public interface IOrderInfoMapper {
	int add(OrderInfo order);
	
	int findoid(int mid);
	
	int update(Map<String,Object> map);
	
	List<OrderDTO> finds(int mid);
	
	List<OrderItemInfoListDTO> findList(Map<String,Object> map);
	
	int total();
	
	List<OrderItemInfoShopList> shoperfindList(FindByPageInfo bypage);
	
	Integer shopertotal(Integer sid);
	
	Integer updateOstatus(Integer oid);
}
